<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>微商管理 － 添加新商品</title>
    <meta name="keywords" content="龙蛙商城">
    <meta name="description" content="龙蛙商城">

    <link rel="shortcut icon" href="/favicon.ico">
    <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet">
    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link href="/web/js/plugins/fancybox/jquery.fancybox.css" rel="stylesheet">
    <link href="/web/css/plugins/toastr/toastr.min.css" rel="stylesheet">
    <script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.all.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-md-12">
            <div class="ibox">
                <div class="ibox-content">
                    <div class="clients-list">
                        <ul class="nav nav-tabs">
                            <li class="active"><a data-toggle="tab" href="#tab-1"><i class="fa fa-user"></i>通用信息</a></li>
                            <li class=""><a data-toggle="tab" href="#tab-2"><i class="fa fa-briefcase"></i>详细描述</a></li>
                            <!--<li class=""><a data-toggle="tab" href="#tab-3"><i class="fa fa-briefcase"></i>其他信息</a></li>-->
                            <li class=""><a data-toggle="tab" href="#tab-4"><i class="fa fa-briefcase"></i>商品属性</a></li>
                            <li class=""><a data-toggle="tab" href="#tab-5"><i class="fa fa-briefcase"></i>商品相册</a></li>
                            <!--<li class=""><a data-toggle="tab" href="#tab-6"><i class="fa fa-briefcase"></i>关联商品</a></li>-->
                            <!--<li class=""><a data-toggle="tab" href="#tab-7"><i class="fa fa-briefcase"></i>配件</a></li>-->
                            <!--<li class=""><a data-toggle="tab" href="#tab-8"><i class="fa fa-briefcase"></i>关联文章</a></li>-->
                        </ul>
                        <div class="tab-content">
                            <div id="tab-1" class="tab-pane active">
                                <form id="ajaxform" class="form-horizontal" role="form">
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">商品名称：</label>
                                        <div class="col-sm-10">
                                            <input type="text" name="goodsName" class="form-control" required=""
                                                   aria-required="true" maxlength="100" minlength="1">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">商品分类：</label>
                                        <div class="col-sm-10">
                                            <select class="form-control" id="categoryId" name="categoryId"
                                                    class="required">
                                                <option value="0">全部分类</option>
                                                <option value="110000" hassubinfo="true">生鲜</option>
                                                <option value="120000" hassubinfo="true">服装</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">选择供货商：</label>
                                        <div class="col-sm-10">
                                            <select class="form-control" id="goodsProviderId"
                                                    name="goodsProviderId">
                                            </select>
                                        </div>
                                    </div>
                                    <!--<input type="hidden" class="form-control" name="goodsProviderId" id="goodsProviderId">-->
                                    <!--<div class="form-group">-->
                                        <!--<label class="col-sm-2 control-label">商品支付类型：</label>-->
                                        <!--<div class="col-sm-10">-->
                                            <!--<input type="text" class="form-control" id="goodsPayType" name="goodsPayType" value="现金" readonly="true"/>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                    <input type="hidden" id="goodsPayType" name="goodsPayType" value="0">
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label" style="color: #cc0000">卖出价（单位:分）：</label>
                                        <div class="col-sm-10">
                                            <input class="form-control goodsScreenPrice" name="goodsScreenPrice" type="number"
                                                   required="" aria-required="true" minlength="1" maxlength="100000">
                                            <span class="help-block m-b-none">网页上出售的价格，纯红包的商品填0。</span>
                                        </div>
                                    </div>
                                    <!--<div class="form-group">-->
                                        <!--<label class="col-sm-2 control-label">返利比例：</label>-->
                                        <!--<div class="col-sm-1">-->
                                            <!--<input class="form-control " id="oneLevel" type="text"-->
                                                   <!--value="0"-->
                                                   <!--required=""-->
                                                   <!--aria-required="true" placeholder="一级">-->
                                        <!--</div>-->
                                        <!--&lt;!&ndash;<div class="col-sm-1">&ndash;&gt;-->
                                            <!--&lt;!&ndash;<input class="form-control " id="twoLevel" type="text"&ndash;&gt;-->
                                                   <!--&lt;!&ndash;value="0"&ndash;&gt;-->
                                                   <!--&lt;!&ndash;required=""&ndash;&gt;-->
                                                   <!--&lt;!&ndash;aria-required="true" placeholder="二级">&ndash;&gt;-->
                                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                                        <!--&lt;!&ndash;<div class="col-sm-1">&ndash;&gt;-->
                                            <!--&lt;!&ndash;<input class="form-control " id="areaLevel" type="text"&ndash;&gt;-->
                                                   <!--&lt;!&ndash;value="0"&ndash;&gt;-->
                                                   <!--&lt;!&ndash;required=""&ndash;&gt;-->
                                                   <!--&lt;!&ndash;aria-required="true" placeholder="区级">&ndash;&gt;-->
                                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                                        <!--&lt;!&ndash;<div class="col-sm-1">&ndash;&gt;-->
                                            <!--&lt;!&ndash;<input class="form-control " id="cityLevel" type="text"&ndash;&gt;-->
                                                   <!--&lt;!&ndash;value="0"&ndash;&gt;-->
                                                   <!--&lt;!&ndash;required=""&ndash;&gt;-->
                                                   <!--&lt;!&ndash;aria-required="true" placeholder="市级">&ndash;&gt;-->
                                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                                        <!--&lt;!&ndash;<div class="col-sm-1">&ndash;&gt;-->
                                            <!--&lt;!&ndash;<input class="form-control " id="provinceLevel" type="text"&ndash;&gt;-->
                                                   <!--&lt;!&ndash;value="0"&ndash;&gt;-->
                                                   <!--&lt;!&ndash;required=""&ndash;&gt;-->
                                                   <!--&lt;!&ndash;aria-required="true" placeholder="省级">&ndash;&gt;-->
                                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                                        <!--&lt;!&ndash;<div class="col-sm-1">&ndash;&gt;-->
                                            <!--&lt;!&ndash;<input class="form-control " id="rtLevel" type="text"&ndash;&gt;-->
                                                   <!--&lt;!&ndash;value="0"&ndash;&gt;-->
                                                   <!--&lt;!&ndash;required=""&ndash;&gt;-->
                                                   <!--&lt;!&ndash;aria-required="true" placeholder="龙蛙">&ndash;&gt;-->
                                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                                        <!--<div class="col-sm-9"></div>-->
                                    <!--</div>-->
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">重量（单位:克）：</label>
                                        <div class="col-sm-10">
                                            <input class="form-control" name="goodsWeight" type="number" value="0"
                                                   required=""
                                                   aria-required="true" minlength="1" maxlength="100000">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label" style="color: #cc0000">运费（单位:分）：</label>
                                        <div class="col-sm-10">
                                            <input class="form-control" name="goodsExPrice" type="number" value="0" required=""
                                                   aria-required="true" minlength="1" maxlength="100000">
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <div class="col-sm-3"></div>
                                        <button id="submitGoodsCreate" class="btn btn-primary col-sm-1">保存</button>
                                        <div class="col-sm-2"></div>
                                        <div class="col-sm-2"></div>
                                        <button type="reset" class="btn btn-primary col-sm-1">重置</button>
                                        <div class="col-sm-3"></div>
                                    </div>
                                </form>
                            </div>
                            <div id="tab-2" class="tab-pane">
                                <div>
                                    <script id="editor" type="text/plain"></script>
                                </div>
                                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                                    <div class="col-sm-5"></div>
                                    <button id="submitCategoryDetail" class="btn btn-primary col-sm-1">保存</button>
                                    <div class="col-sm-5"></div>
                                </div>
                            </div>
                            <div id="tab-4" class="tab-pane">
                                <form id="ajax-attr" class="form-horizontal" role="form">
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">商品类型：</label>
                                        <div class="col-sm-10">
                                            <select class="form-control" id="typeId" name="typeId"
                                                    onchange="getAttrList()" class="required">
                                                <option value="0">商品类型</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div id="attribute-list"></div>
                                    <div class="hr-line-dashed"></div>

                                    <div class="form-group">
                                        <div class="col-sm-5"></div>
                                        <button id="submitAttrLike" class="btn btn-primary col-sm-1">保存</button>
                                        <div class="col-sm-5"></div>
                                    </div>
                                </form>
                            </div>
                            <div id="tab-5" class="tab-pane">
                                <div class="ibox float-e-margins">
                                    <script id="editorAlbum" type="text/plain"></script>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<script src="js/content.min.js?v=1.0.0"></script>
<script src="js/plugins/datapicker/bootstrap-datepicker.js"></script>
<script src="/web/js/plugins/validate/jquery.validate.min.js"></script>
<script src="/web/js/plugins/validate/messages_zh.min.js"></script>
<script src="/web/js/plugins/toastr/toastr.min.js"></script>
<script src="/web/js/plugins/fancybox/jquery.fancybox.js"></script>
<script src="/web/js/self/commons.js"></script>
<script src="/web/js/self/ws_goods_create.js?v=1.0"></script>
</body>
</html>
